﻿using System;
using System.Globalization;
using Medianamik.Core;

namespace Medianamik.UI.Web.MVP
{
    public class ActivationStatusChangedEventArgs : IdEventArgs
    {
        public ActivationStatusChangedEventArgs(Guid id, 
            ActiveStatus status, CultureInfo culture)
            : base(id)
        {
            Status = status;
            Culture = culture;
        }

        public ActiveStatus Status { get; private set; }
        public CultureInfo Culture { get; private set; }
    }

    public class OrderChangedEventArgs : IdEventArgs
    {
        public OrderChangedEventArgs(Guid id, Guid destinationId, DropPosition dropPosition)
            : base(id)
        {
            DropPosition = dropPosition;
            DestinationId = destinationId;
        }

        public DropPosition DropPosition { get; private set; }
        public Guid DestinationId { get; private set; }
    }
}
